USE [LAFDC]
GO
/****** Object:  StoredProcedure [dbo].[spGetCONTACT_byPrevID]    Script Date: 11/23/2009 23:00:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Ludovic FERRE
-- Create date: 2007-09-05
-- Description:	Return contact details by prev_id
-- =============================================
CREATE PROCEDURE [dbo].[spGetCONTACT_byPrevID]
	@PREV_ID as nvarchar(255)
AS
BEGIN
	SET NOCOUNT ON;

	select ID, [Valeur], [Type], [Description]
	  from contact
	 where prev_id = @PREV_ID

END
